package com.yql.entity;

import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author  azha 
 * @create 2021-12-03 09:38 
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {

	/**
	 * table name:id
	 * table type:int(11)
	 * table comment:null
	 */
	private Integer id;

	/**
	 * table name:out_num
	 * table type:bigint(20)
	 * table comment:null
	 */
	private Long outNum;

	/**
	 * table name:fh_date
	 * table type:date
	 * table comment:null
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date fhDate;

	/**
	 * table name:fh_num
	 * table type:varchar(255)
	 * table comment:null
	 */
	private String fhNum;

	/**
	 * table name:ce_money
	 * table type:decimal(10)
	 * table comment:null
	 */
	private Double ceMoney;

	/**
	 * table name:out_money
	 * table type:decimal(10,2)
	 * table comment:null
	 */
	private Double outMoney;

	/**
	 * table name:fh_money
	 * table type:decimal(10,2)
	 * table comment:null
	 */
	private Double fhMoney;

	/**
	 * table name:zd_num
	 * table type:int(11)
	 * table comment:null
	 */
	private Integer zdNum;

	/**
	 * table name:zd_name
	 * table type:varchar(255)
	 * table comment:null
	 */
	private String zdName;

	/**
	 * table name:kh_num
	 * table type:varchar(255)
	 * table comment:null
	 */
	private String khNum;

	/**
	 * table name:zd_date
	 * table type:date
	 * table comment:null
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date zdDate;

	/**
	 * table name:fh_address
	 * table type:varchar(255)
	 * table comment:null
	 */
	private String fhAddress;

	/**
	 * table name:fh_file
	 * table type:varchar(255)
	 * table comment:null
	 */
	private String fhFile;

	/**
	 * table name:mark
	 * table type:varchar(255)
	 * table comment:null
	 */
	private String mark;

	private User user;

	private List<Goods> goodsList;

}
